package com.github.murzagalin.evaluator.ast

interface AstVisitor {
    fun visitUnary(unary: Expression.Unary): Any
    fun visitBinary(binary: Expression.Binary): Any
    fun visitTernary(ternary: Expression.Ternary): Any
    fun visitFunctionCall(functionCall: Expression.FunctionCall): Any
    fun visitTerminal(terminal: Expression.Terminal): Any
}